(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
  typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ScadaRemoteLibrary_Button = {}, global.Vue));
})(this, (function (exports, vue) { 'use strict';

  var script = {
    name: 'ScadaButton',
    methods: {
      clickHandler() {
        console.log('点击了我的按钮哦');
      }
    }
  };

  const _hoisted_1 = /*#__PURE__*/vue.createTextVNode("这是elbutton");

  function render(_ctx, _cache, $props, $setup, $data, $options) {
    const _component_el_button = vue.resolveComponent("el-button");

    return (vue.openBlock(), vue.createElementBlock("div", null, [
      vue.createElementVNode("button", {
        class: "scadaButton",
        onClick: _cache[0] || (_cache[0] = (...args) => ($options.clickHandler && $options.clickHandler(...args)))
      }, "我asdsa adsa asd 是一个Button组件"),
      vue.createVNode(_component_el_button, null, {
        default: vue.withCtx(() => [
          _hoisted_1
        ]),
        _: 1 /* STABLE */
      })
    ]))
  }

  script.render = render;
  script.__file = "packages/button/index.vue";

  var install = function install(app) {
    app.component(script.name, script);
  };

  var index = {
    install: install,
    ScadaButton: script
  };

  exports["default"] = index;

  Object.defineProperty(exports, '__esModule', { value: true });

}));
